#TODO: Get this info from the server
window.languages = {}

languages.initialize = ->
  $.getJSON '/languages', (data) ->
    $.extend languages, data